﻿<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="NetrekUI.Page1"
	x:Name="Page"
	WindowTitle="Page"
	FlowDirection="LeftToRight"
	MinWidth="640" MinHeight="480"
	WindowWidth="640" WindowHeight="480" xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">

	<Page.Resources>
		<DataTemplate x:Key="SampleDataFieldTemplate">
			<TextBlock Text="{Binding}"/>
		</DataTemplate>
	</Page.Resources>

	<Grid x:Name="LayoutRoot">
		<ListView IsSynchronizedWithCurrentItem="True" Margin="140,92,133,179" Style="{DynamicResource {x:Type ListView}}" ItemTemplate="{DynamicResource SampleDataFieldTemplate}" d:UseSampleData="True" ItemsSource="{Binding Path=MyData, ElementName=Page, Mode=Default}">
			<ListView.View>
				<GridView>
					<GridViewColumn Header="First" DisplayMemberBinding="{Binding Name}" />
					<GridViewColumn Header="Second" DisplayMemberBinding="{Binding ShipType}" />
					<GridViewColumn Header="Third" DisplayMemberBinding="{Binding Etc}"/>
				</GridView>
			</ListView.View>
		</ListView>
	</Grid>
</Page>